package com.ruoyi.system.domain.vo;

import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import javax.validation.constraints.Email;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.util.Set;

/**
 * @author lwq
 * @ClassName SysDeptVo.java
 * @Description //TODO $
 * @createTime 2023-06-13 16:52
 */
@ApiModel(value = "SysDeptReqVo",description="企业诊断列表查询数据")
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper=false)
public class SysDeptReqVo {



    /** 部门名称 */
    @Excel(name = "公司名称")
    @ApiModelProperty(name="deptName", value="名称")
    @NotBlank(message = "部门名称不能为空")
    @Size(min = 0, max = 30, message = "部门名称长度不能超过30个字符")
    private String deptName;


    /** 负责人 */
    @Excel(name = "负责人")
    @ApiModelProperty(name="leader", value="负责人")
    private String leader;

    /** 联系电话 */
    @Excel(name = "负责人电话")
    @ApiModelProperty(name="phone", value="联系电话")
    @Size(min = 0, max = 12, message = "联系电话长度不能超过11个字符")
    private String phone;


    /** 诊断状态（0未开始 1 开始） */
    @Excel(name = "诊断状态", readConverterExp = "0未开始 1 开始")
    @ApiModelProperty(name="diagnoseStatus", value="诊断状态")
    private String diagnoseStatus;


    /** 用户Id */
    @Excel(name = "用户Id")
    @ApiModelProperty(name="userId", value="用户Id")
    private Long userId;

    /** 部门IDs */
    @Excel(name = "部门IDs")
    @ApiModelProperty(name="deptIds", value="部门IDs")
    private Set<Long> deptIds;

    /** 部门ID */
    @Excel(name = "部门ID")
    @ApiModelProperty(name="deptId", value="部门ID")
    private Long deptId;

}
